#include "Collision.h"
#include "PhysicsObjects.h"
class CollisionTest
{
public:
	static bool IsColliding(D3DXVECTOR3 Point1, D3DXVECTOR3 Point2);
	static bool IsColliding(CollisionSphere Sphere, CollisionBox Box);
	static bool IsColliding(CollisionBox Box, D3DXVECTOR3 Point);
	static bool IsColliding(PhysicsBox *Box1, PhysicsBox *Box2);
	static bool IsColliding(PhysicsBox *Box, D3DXVECTOR3 Point);
	static bool IsColliding(CollisionBox Box1, CollisionBox Box2);
private:
	static bool IsColliding(D3DXVECTOR3 Point1, D3DXVECTOR3 Point2, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
	static bool IsColliding(CollisionSphere Sphere, CollisionBox Box, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
	static bool IsColliding(CollisionBox Box, D3DXVECTOR3 Point, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
	static bool IsColliding(PhysicsBox *Box1, PhysicsBox *Box2, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
	static bool IsColliding(PhysicsBox *Box, D3DXVECTOR3 Point, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
	static bool IsColliding(CollisionBox Box1, CollisionBox Box2, float Negativedt, D3DXVECTOR3 Velocity1, D3DXVECTOR3 Velocity2);
};
